package com.example.cloud.service.basic.info;

import com.example.cloud.model.basic.Course;
import com.example.cloud.model.dto.Result;
import com.example.cloud.model.dto.SearchModel;

import java.util.List;

/**
 * Created by wangtao on 2018/6/6.
 */
public interface CourseService {
    Course findOneFromCache(Long id);
    Course doSave(Course record);
    void doDelete(List<Long> ids);
    void loadCache();
    Result doSearchModel(int pageNumber, int pageSize, List<SearchModel> conditions);
}
